:root {
    --bg: #144d37;
    --primary-dark: #3f0000;
    --primary-mid: #8a0000;
    --primary-bright: #d32f2f;
    --accent: #ffffff;
    --gold: #ffeb3b;
    --text: #ffffff;
    --header-h: 60px;
    --border: #333;
    --card-bg: #16a34a;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    background: #ffffff;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: #000;
    padding: 8px;
    z-index: 9999;
    text-decoration: none;
    font-weight: bold;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.app-shell {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    box-shadow: 0 0 50px rgba(100, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.site-header {
    width: 100%;
    max-width: 480px;
    height: var(--header-h);
    background: linear-gradient(135deg, #144d37, #00bf75);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 2px solid var(--primary-bright);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

/* Menu Button accessible styling */
.menu-btn {
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: 0.3s;
    display: block;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}

.header-logo img {
    width: 120px;
    height: 50px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.btn-help {
    background: var(--accent);
    color: #990000;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff8e6;
    z-index: 2000;
    transition: 0.3s;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-right: 1px solid var(--primary-bright);
    visibility: hidden;
}

.sidebar.open {
    left: 0;
    visibility: visible;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* Close Button accessible */
.close-btn {
    color: #000000;
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.sidebar h2 {
    color: #187343;
    font-size: 22px;
    border-bottom: 1px solid #ff8100;
    padding-bottom: 15px;
    font-weight: 900;
    margin-top: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.sidebar li {
    margin-bottom: 10px;
    color: black;
}

.header-main {
    margin: 2px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.header-main .header-main-menu {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00935b;
    transition: 0.2s;
}

.header-main .header-main-menu.active {
    background: #02b46f;
    color: white;
    font-weight: 600;
}

.sidebar a {
    color: black !important;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-left: #187343;
    transition: 0.2s;
}

.sidebar a:active {
    background: var(--primary-bright);
}

.date-badge {
    background: #083222;
    color: #ffffff;
    text-align: center;
    padding: 5px;
    font-size: 13px;
    border-bottom: 1px solid #333;
    font-weight: bold;
}

.ai-summary {
    padding: 15px;
    background: #0f0f0f;
    border-bottom: 1px solid #333;
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
    margin: 0 10px 10px 10px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.ai-summary strong {
    color: #fff;
}

.table-container {
    padding: 0 5px 5px 5px;
}

.table-card {
    background: #110505;
    border: 1px solid #440000;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.table-title {
    background: #0b7e51;
    color: white;
    padding: 12px;
    font-weight: 900;
    text-align: center;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 0;
}

.search-section {
    display: flex;
    justify-content: center;
    padding: 5px 3px;
    background: #02b26e;
}

.search-card-top {
    width: 100%;
    max-width: 480px;
    background: #00935b;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    border-top: 3px solid white;
}

.search-label {
    display: block;
    text-align: center;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px dashed #333;
    padding-bottom: 5px;
}

.search-input-group {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.form-control {
    width: 100%;
    padding: 5px;
    border: 10px solid #444;
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #d60000;
    background-color: #1a1a1a;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

.form-control1 {
    padding: 5px;
    border-radius: 10px;
    border: none;
}

.search-btn {
    margin: 0;
    display: block;
    width: 160px;
    padding: 5px;
    background: #16a34a;
    color: #fff;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.search-btn:hover {
    background: #b90000;
}

#fakeAlert {
    text-align: center;
    padding: 5px;
    border: 1px solid red;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #0b7e51;
}

thead {
    background: #1a1a1a;
}

th {
    color: #888;
    padding: 10px;
    font-size: 11px;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    color: #fff;
    vertical-align: middle;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 480px) {
    thead {
        display: none;
    }

    tr {
        display: block;
        margin-bottom: 10px;
        background: #fff4e2;
        border: 1px solid #222;
        border-radius: 8px;
        padding: 5px;
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #1a1a1a;
        padding: 0px;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        content: attr(data-label);
        color: #666;
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
    }
}

.id-text {
    font-family: monospace;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.wa-link-text {
    color: var(--gold) !important;
    text-decoration: none;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.comp-btn {
    background: #fff;
    color: #900;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    font-size: 11px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.main-h1 {
    margin: 10px 0 5px;
    font-size: 18px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .6);
    text-align: center;
    line-height: 1;
}

.main-h1 span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    color: white;
}

@media(max-width:480px) {
    .main-h1 {
        font-size: 18px;
    }

    .main-h1 span {
        font-size: 14px;
    }
}

.bonus-banner {
    background: linear-gradient(180deg, #12553b, #110000);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--primary-bright);
    border-bottom: 1px solid var(--primary-bright);
    margin-top: 5px;
}

.timer-box {
    display: flex;
    gap: 4px;
    align-items: center;
}

.digit {
    background: linear-gradient(180deg, #fff, #ccc);
    color: #900;
    font-weight: 900;
    width: 15px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 16px;
}

.rotator-msg {
    color: var(--gold);
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    flex: 1;
    text-transform: uppercase;
}

.hero-section {
    padding: 1px 3px;
    text-align: center;
    background: radial-gradient(circle, #0000 0%, #000 70%);
}

.hero-section h1 {
    font-size: 20px;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    line-height: 1.4;
}

.seo-section {
    padding: 10px;
    background: #080808;
    color: #ddd;
    line-height: 1.7;
    font-size: 14px;
    text-align: justify;
}

.seo-section h2 {
    color: #03b16e;
    font-size: 18px;
    margin-top: 10px;
}

footer {
    background: #000;
    padding: 30px 15px;
    text-align: center;
    border-top: 1px solid #333;
}

/* Wrapper */
.live-support-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.live-support-btn {
    width: 65px;
    height: 65px;
    background: #03b16e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: white;
    cursor: pointer;
    position: relative;
}

/* Ripple Circles */
.live-support-btn::before,
.live-support-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #03b16e;
    border-radius: 50%;
    animation: ripple 2s linear infinite;
    opacity: 0;
}

/* Second ripple delay */
.live-support-btn::after {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.6);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.live-supprt-img {
    width: 50px;
    height: 100%;
    object-fit: contain;
}

/* Social Icons Container */
.support-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
    height: 0px;
}

/* Show State */
.support-options.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    height: 100%;
}

/* Individual Icons */
.support-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #ff8100;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    text-decoration: none;
    color: black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    color: #25D366;
}

.imo {
    font-weight: bold;
    color: #0077ff;
}

.agents-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agents-number {
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    margin-right: 5px;
}



.agent-card-row {
    background: #187343;
    margin: 5px;
}

.agent-card {
    position: relative;
    background: transparent;
    border-radius: 12px;
    padding: 0px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    width: 100%;
}

.agent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.agent-card-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-avatar {
    width: 60px;
    height: 60px;
    background: #f1f3f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #555;
}

.agent-info {
    flex: 1;
}

.agent-header {
    margin-top: -10px;
}

.agent-name {
    margin: 0;
    font-weight: 600;
    margin-bottom: 5px;
}

.agent-rating {
    color: #ffc107;
    font-size: 14px;
}

.agent-type {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.agent-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #006426;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.agent-whatsapp img {
    border-radius: 50%;
}

.agent-whatsapp:hover {
    opacity: 0.9;
}

.complain-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
}

.complain-btn:hover {
    background: #cc0000;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.round-animation {
    position: relative;
    border-radius: 12px;
    /* works */
    z-index: 1;
    display: block;
}

.round-animation::before {
    content: "";
    position: absolute;
    inset: -2px;
    /* border thickness */
    border-radius: inherit;

    background: conic-gradient(from var(--angle),
            red 0 24deg,
            yellow 180deg 204deg,
            transparent 24deg 180deg,
            transparent 204deg 360deg);

    /* MAGIC PART */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;

    padding: 4px;
    /* border width */
    animation: spin 3s linear infinite;
    z-index: -1;
}

@keyframes spin {
    to {
        --angle: 360deg;
    }
}

.agent-card-row.admins {
    background: darkgreen;
}

.agent-card-row.admins .agent-whatsapp {
    background-color: #187343 !important;
}



@media (max-width: 767px) {
    .main-content {
        padding: 0px 5px 30px 5px !important;
    }

    .page-title {
        font-size: 20px !important;
        margin-bottom: 5px !important;
        color: black !important;
        font-weight: 600 !important;
    }

    .post-page-content h4 {
        font-size: 16px !important;
    }

    .post-page-content {
        padding-top: 0px !important;
    }

    .post-page-content form {
        background: #2f8b2f !important;
    }

    .post-page-content form label {
        color: #ffffff !important;
    }
}

.agent-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 20px;
    margin-bottom: 30px;
}

.agent-card {
    background: linear-gradient(90deg, #fedd59, #ff944e);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.agent-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}
.agent-type{
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: white;
    color: black;
    padding: 1px 5px;
    text-transform: uppercase;
    font-size: 10px;
    border: 1px solid #333;
    letter-spacing: 2px;
    margin-bottom: 0px;
}
.agent-card h3 {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
    padding: 5px;
    border: 1px dotted black;
}

.agent-btn {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.agent-btn:hover {
    background-color: #E55100;
}

@media (max-width: 768px) {
    .agent-cards-grid {
        grid-template-columns: 1fr;
    }
}
.master-agents-section .agent-text{
    font-size: 12px;
    color: #353535;
}
.master-agents-section .agent-type1{
    font-size: 10px;
    color: #000000;
}
.master-agents-section .agent-id{
    font-size: 13px;
    color: #000000;
}
.master-agents-section .agent-number{
    font-size: 14px;
    color: #ff1c1c;
    font-weight: bold;
}
a{
    text-decoration: none !important;
}
.agent-type2{
    width: fit-content;
    border: 1px solid black;
    font-size: 10px;
    letter-spacing: 2px;
    text-decoration: none !important;
    color: black;
    background: white;
    padding: 1px 5px;
}